package cn.dengta.webapp.im.entity;

import cn.dengta.webapp.base.entity.TimeBasedEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@TableName(value = "im_user_gift_count")
public class UserGiftCount extends TimeBasedEntity {

	/**  */
	private Long userId;
	private Long giftId;
	private Integer times;

	public void init(Long userId, Long giftId) {
		this.userId = userId;
		this.giftId = giftId;
	}

	public static final String USER_ID = "user_id";
	public static final String GIFT_ID = "gift_id";
	public static final String TIMES = "times";

}
